<!--
 * @Description: 
 * @Author: chenjiaxin
 * @Date: 2022-06-04 17:39:58
 * @LastEditTime: 2022-06-07 21:32:56
 * @FilePath: \leetcode\2_队列结构\index.html
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>队列结构</title>
  </head>
  <body>
    <script src="./01_队列的封装.js"></script>
    <script src="./02_击鼓传花.js"></script>
    <script>
      var queue = new Queue();
      // queue.enqueue(100);
      // queue.enqueue(200);
      // console.log(queue.isEmpty());
      // console.log(queue.toString());
      // console.log(queue.size());
      // queue.dequeue();
      // queue.dequeue();
      // console.log(queue.isEmpty());
      // console.log(queue.size());
      // queue.enqueue("a");
      // queue.enqueue("b");
      // queue.enqueue("c");
      // queue.enqueue("d");
      // queue.enqueue("e");
      // queue.enqueue("f");

      let result = findOne(["a", "b", "c", "d", "e"], 5);
      console.log(result);
    </script>
  </body>
</html>
